﻿using System;
using MediaBrowserSL.RIA.MediaBrowserServiceReference;
using System.Collections.Generic;

namespace MediaBrowserSL.RIA.Services
{
    public interface IAuthenticationRiaServices
    {
        void ExistUser(Action<User, Exception> existUserCallback, string Login, string password);

        void CreateUser(Action<int, Exception> createUserCallback, string firstName, string lastName, string Login, string password);

        void UpdateStatut(Action<User,Exception> updateStatutCallback, User user);

        void ExistLogin(Action<bool, Exception> existLoginCallback, string Login);
    }
}
